<!DOCTYPE html>
<!-- saved from url=(0136)https://websocket.kleshuo.com/Views/KP/#/?projectid=3f186e31dd524cf6a94ba096e11b4509&userid=61319&kprId=3f186e31dd524cf6a94ba096e11b4509 -->
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>invoicingsystem</title>
    <link href="__STATIC__/tax/css/app.a98501b065b72906e12c02c8483484df.css" rel="stylesheet">
    <script type="text/javascript" src=" /static/cof/public/jquery-1.11.3.min.js "></script>
</head>
<style type="text/css" media="all">
    .body-left{
        top: 78px;
    }
    .login-footer{
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-top:30px;
    }
    .login-title{
        margin-bottom: 10px;
    }
    .login-bnt{
        width: 120px;
        padding: 15px 0;font-size: 16px;
        
    }
    .login-list .el-link.el-link--primary{
        font-size: 14px;
    }
    .body-top{
        position: fixed;
        top:0;
        left: 0;width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 15px;
        box-sizing: border-box;
    }
    .body-top img{
        width: 20px;
        margin: 0 10px;
    }
</style>
<body>
<div id="app">
    <div>
        <div class="body-bj">
            <div class="body-top">
                <img src="__STATIC__/tax/images/min-window.svg" id="min-window" alt="" />
                <img src="__STATIC__/tax/images/close-window.svg" id="close-window" alt="" />
            </div>
            <div class="body-left">
                <p class="body-p1">增值税发票开票软件<span>(税务UKey版)</span></p>
                <p class="body-p2">版本号:V1.0.31_ZS_20231031</p>
            </div>
            <div class="login-div">
                <div class="login-main">
                    <p class="login-top">用户登录</p>
                    <form method="post">

                        <div class="login-list">
                        <div class="el-row">
                            <div class="el-col el-col-24">
                                <div class="login-title">用户名称</div>
                            </div>
                        </div>
                        <div class="el-row" style="margin-bottom: 10px;">
                            <div class="el-col el-col-24">
                                <div class="login-list-div"><i class="iconfont icon-user"></i>
                                    <div class="el-select">
                                        
                                        <div class="el-input el-input--suffix">
                                            
<!--                                            <input type="text" readonly="readonly" autocomplete="off" placeholder="管理员" class="el-input__inner">-->
                                            <input type="text" name="username" id="username" autocomplete="off" placeholder="管理员" class="el-input__inner">

                                            <span class="el-input__suffix"><span
                                                class="el-input__suffix-inner"><i
                                                class="el-select__caret el-input__icon el-icon-arrow-up"></i>
                                            
                                            
                                            
                                            
                                            
														</span>
                                            
													</span>
                                            
                                            
                                        </div>
                                        <div class="el-select-dropdown el-popper"
                                             style="display: none; min-width: 259px;">
                                            <div class="el-scrollbar" style="">
                                                <div
                                                        class="el-select-dropdown__wrap el-scrollbar__wrap el-scrollbar__wrap--hidden-default">
                                                    <ul class="el-scrollbar__view el-select-dropdown__list">
                                                        
                                                        <li class="el-select-dropdown__item selected">
                                                            <span>admin</span></li>
                                                        <li class="el-select-dropdown__item"><span>温子婷</span>
                                                        </li>
                                                        <li class="el-select-dropdown__item"><span>卢粤华</span>
                                                        </li>
                                                        <li class="el-select-dropdown__item"><span>吴秀丽</span>
                                                        </li>
                                                        <li class="el-select-dropdown__item"><span>姚凤妹</span>
                                                        </li>
                                                        <li class="el-select-dropdown__item"><span>郑秀琼</span>
                                                        </li>
                                                        <li class="el-select-dropdown__item"><span>陈友玲</span>
                                                        </li>
                                                    </ul>
                                                </div>
                                                <div class="el-scrollbar__bar is-horizontal">
                                                    <div class="el-scrollbar__thumb"
                                                         style="transform: translateX(0%);"></div>
                                                </div>
                                                <div class="el-scrollbar__bar is-vertical">
                                                    <div class="el-scrollbar__thumb"
                                                         style="transform: translateY(0%);"></div>
                                                </div>
                                            </div>
                                            
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="el-row">
                            <div class="el-col el-col-24">
                                <div class="login-title">用户密码</div>
                            </div>
                        </div>
                        <div class="el-row" style="margin-bottom: 10px;">
                            <div class="el-col el-col-24">
                                <div class="el-input el-input--prefix el-input--suffix">
                                    <input type="password" name="password" id="password" autocomplete="off" placeholder="请输入密码"
                                                  class="el-input__inner"><span class="el-input__prefix"><i
                                        class="el-input__icon iconfont icon-suo"></i></span><span
                                        class="el-input__suffix"><span class="el-input__suffix-inner">
													
                                    <i class="el-input__icon el-icon-view el-input__clear"></i>
                                    
												</span>
                                    
											</span>
                                    
                                    
                                </div>
                            </div>
                        </div>
                        <!--<div class="el-row">-->
                        <!--    <div class="el-col el-col-24">-->
                        <!--        <div class="login-title">证书密码</div>-->
                        <!--    </div>-->
                        <!--</div>-->
           <!--             <div class="el-row" style="margin-bottom: 10px;">-->
           <!--                 <div class="el-col el-col-24">-->
           <!--                     <div class="el-input el-input--prefix el-input--suffix">-->
           <!--                         <input type="password" autocomplete="off" placeholder="请输入密码" name="password_zs" id="password_zs"-->
           <!--                                       class="el-input__inner"><span class="el-input__prefix"><i-->
           <!--                             class="el-input__icon iconfont icon-zhengshu"></i></span><span-->
           <!--                             class="el-input__suffix"><span class="el-input__suffix-inner">-->
													
           <!--                         <i class="el-input__icon el-icon-view el-input__clear"></i>-->
                                    
											<!--	</span>-->
                                    
											<!--</span>-->
                                    
                                    
           <!--                     </div>-->
           <!--                 </div>-->
           <!--             </div>-->
                       <div class="login-footer">
                            <div class="el-row">
                            <div class="el-col el-col-12"><label class="el-checkbox"><span
                                    class="el-checkbox__input"><span
                                    class="el-checkbox__inner"></span><input type="checkbox"
                                                                             aria-hidden="false" class="el-checkbox__original"
                                                                             value=""></span><span class="el-checkbox__label">记住密码
                                
											</span></label></div>
                          
                        </div>
                        <div class="el-row" style="display: flex;flex-direction: column;align-items: flex-end;">
                              <div class=""
                                 style="text-align: right;"><a
                                    class="el-link el-link--primary is-underline">
                                <span class="el-link--inner">更改证书密码&gt;</span>
                                
                            </a></div>
                            <div class="2"
                                 style="text-align: right;margin-top:10px"><a
                                    class="el-link el-link--primary is-underline">
                                <span class="el-link--inner" id="test">网络地址配置&gt;</span>
                                
                            </a></div>
                        </div>
                       </div>
                        <div class="el-row" style="text-align: center; margin-top: 50px; font-size: 14px;">
                            <button type="button" id="login"
                                    class="el-button login-bnt el-button--primary el-button--small">
                                
                                <span>登 录</span>
                            </button>
                        </div>

                    </div>
                    </form>
                </div>
                <p class="login-p1">税务UKey编号:<span>917105087784</span></p>
                <p class="login-p2">登录时间:<span id="nowTime"></span></p>
            </div>
        </div>
        <div class="el-dialog__wrapper dialogRemove" style="display: none;">
            <div role="dialog" aria-modal="true" aria-label="系统提示" class="el-dialog"
                 style="margin-top: 15vh; width: 440px;">
                <div class="el-dialog__header"><span class="el-dialog__title">系统提示</span><button type="button"
                                                                                                 aria-label="Close" class="el-dialog__headerbtn"><i
                        class="el-dialog__close el-icon el-icon-close"></i></button></div>
                
                <div class="el-dialog__footer"><span><button type="button" class="el-button el-button--default">
									
                    <span>确 定</span>
								</button></span></div>
            </div>
        </div>
    </div>
</div>
<!--<script type="text/javascript" src="__STATIC__/tax/js/manifest.3ad1d5771e9b13dbdad2.js"></script>-->
<!-- <script type="text/javascript" src="__STATIC__/tax/vendor.9ea706416dbcf37d5ef8.js"></script> -->
<!--<script type="text/javascript" src="__STATIC__/tax/js/app.ef27d7e506ea3f4e1244.js"></script>-->
<script type="text/javascript" src=" /static/User/js/jquery-2.1.1.min.js "></script>
<!--<script type="text/javascript" src="__STATIC__/jsbridge-mini.js"></script>-->
<script src="/static/Admin/layer/layer.js"></script>
<script type="text/javascript">
    var DEVSERVER = '';
    var LANGUAGE = 'zh';
    function  getTime(){
         var date=new Date();
         var d1=date.toLocaleString();
         document.getElementById("nowTime").innerHTML =d1; 
     }
     if ("{$href}" != ''){
         location.href = "{$href}";
     }
     setInterval("getTime();",1000);
    if (typeof jsBridge != "undefined"){
        jsBridge.setWindowSize({
            width: 1200,
            height: 800,
        }).then((res) => {
            if (res.success) {
                jsBridge.center();
                console.log('设置窗口大小成功');
            }
        });
    }

    $("#min-window").click(function(){
        jsBridge.minimize().then((res) => {
          if (res.success) {
            console.log('最小化窗口成功');
          }
        });
    })
    $("#close-window").click(function(){
        jsBridge.exit();
    })
    $("#test").click(function(){
        // jsBridge.setTitle({
        //   text: '测试',
        // });
        jsBridge.setWindowSize({
        width: 800,
        height: 600,
        }).then((res) => {
        if (res.success) {
          console.log('设置窗口大小成功');
        }
      });
    //   jsBridge.setWindowSize({
    //     width: 500,
    //     height: 300,
    //   }).then((res) => {
    //     if (res.success) {
    //       console.log('设置窗口大小成功');
    //     }
    //   });

        // jsBridge.getWindowSize().then((res) => {
        //   if (res.success) {
        //     alert('当前窗口的尺寸为'+ res.data.width+","+res.data.height);
        //   } else {
        //     alert('获取窗口尺寸失败');
        //   }
        // });
        // jsBridge.maximize().then((res) => {
        //   if (res.success) {
        //     alert('最大化窗口成功');
        //   }
        // });
        // if (jsBridge.canMaximize()) {
        //   alert('当前应用能最大化');
        // } else {
        //   alert('当前应用不能最大化');
        // }
    //     jsBridge.isMaximized().then((res) => {
    //   if (res.success) {
    //     alert('窗口是否最大化(全屏)', res.data);
    //   }
    // });
        // jsBridge.exit();
        // jsBridge.hide().then((res) => {
        //   if (res.success) {
        //     console.log('窗口隐藏成功');
        //     setTimeout(() => {
        //       jsBridge.show();
        //     }, 2000);
        //   }
        // });
    })
    $("#login").click(function (e) {
        e.preventDefault()
        $("#login").hide()
        $("#submittingButton").show()
        $.ajax({
            type:"post",
            dataType:"json",
            data:$("form").serialize(),
            url:"{:url('Open/Login')}",
            success:function (data) {
                if (data.status == 1){
                    layer.msg(data.message,{time:1500},function () {
                        window.location.href = data.url
                    })
                }else {
                    layer.msg(data.message,{time:1500},function () {
                        $("#login").show()
                        $("#submittingButton").hide()
                    })
                }
            }
        })
    })
</script>
</body>
</html>
